package com.itbupt.domain.order.adapter.port;

import com.itbupt.domain.order.model.entity.MarketPayDiscountEntity;
import com.itbupt.domain.order.model.entity.ProductEntity;

/**
 * @Author dingchang
 * @Date 2025/5/10 0:38
 * @Description: 网关接口 - rpc
 */
public interface IProductPort {

    // 通过商品ID查询商品信息
    ProductEntity queryProductByProductId(String productId);

    // 营销锁单
    MarketPayDiscountEntity lockMarketPayOrder(String userId, String teamId, Long activityId, String productId, String orderId);

}
